#ifndef DATABASEOP_H
#define DATABASEOP_H
#include "head.h"
class databaseOP
{
public:
    databaseOP();
    ~databaseOP();

    // 添加函数声明，接收 QSqlQuery 和 SQL 语句
    bool excutSql(QSqlQuery &query, const QString &sql);

private:
    QSqlDatabase database;
};

#endif // DATABASEOP_H
